package com.zhdl.modules.demo.DCHTProcess;

//import com.zhdl.modules.common.test.ProcessDo;
import com.zhdl.common.util.BeanUtils;
import com.zhdl.hardware_contact.hardware_web.service.ProcessSportService;
import com.zhdl.modules.process.common.ProcessDo;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class MotorABSRunDo implements ProcessDo {
    private String name;
    int location;
    public MotorABSRunDo(String name,int location){
          this.name = name;
          this.location = location;
    }
    @Override
    public void doSomeThing() {
//        ProcessSportService processSportService = BeanUtils.getBean("ProcessSportService");
//        processSportService.HardwareAbsRun(this.name,this.location);
        log.info("MotorABSRunDo-"+name+"运动至位置-"+location);
    }
}
